<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
	layout:decorator="layout">
<head>
<title>${pageTitle!}</title>
</head>
<body>
	<div layout:fragment="content">
		<div class="row">
			<div class="alert alert-info" role="alert" th:text="${r'${message}'}"></div>
		</div>
		<form class="form-horizontal">
			<#list pageProps as pro>
				<div class="form-group">
					<label class="col-sm-2 control-label">${pro.comment!}</label>
					<div class="col-sm-5">
					 	<p class="form-control-static" th:text="${r'${model'}.${pro.name}}"></p>
					</div>
				</div>
			</#list>
			
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<a th:href="@{'/${mappingVal}/update/' + ${r'${model'}.${idName}}}" class="btn btn-default"> 修 改</a>
					
					<a th:href="@{'/${mappingVal}/delete/' + ${r'${model'}.${idName}}}" onclick="var f = window.confirm('确定要删除该条记录吗?');return f;" class="btn btn-default"> 删 除</a>
				</div>
			</div>
		</form>
	</div>
</body>
</html>
